package models;

import java.util.Date;
import javax.jdo.annotations.Index;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Id;

@Index
public class Favourite {
	
	@PrimaryKey
	@Id
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)	
	Long	favID;
		
	Long	solID;
	String	favouriteOf;
	Date	favouriteON;
	
	public Long getFavID() {
		return favID;
	}
	public void setFavID(Long favID) {
		this.favID = favID;
	}
	public Long getSolID() {
		return solID;
	}
	public void setSolID(Long solID) {
		this.solID = solID;
	}
	public String getFavouriteOf() {
		return favouriteOf;
	}
	public void setFavouriteOf(String favouriteOf) {
		this.favouriteOf = favouriteOf;
	}
	public Date getFavouriteON() {
		return favouriteON;
	}
	public void setFavouriteON(Date favouriteON) {
		this.favouriteON = favouriteON;
	}
}
